package cn.bonoon.kernel.web.handlers;

import cn.bonoon.handler.impl.StandardAutoManager;
import cn.bonoon.kernel.web.controllers.GridButtonResolver;
import cn.bonoon.kernel.web.controllers.GridToolbarResolver;

public class EmptyHandlerRegister implements HandlerRegister{
	private final StandardAutoManager manager;
	public EmptyHandlerRegister(StandardAutoManager manager){
		this.manager = manager;
	}
	public EmptyHandlerRegister(){
		this.manager = null;
	}
	@Override
	public GridToolbarResolver toolbar() {
		return null;
	}

	@Override
	public GridButtonResolver button() {
		return null;
	}

	@Override
	public StandardAutoManager getManager() {
		return manager;
	}

	@Override
	public String refreshParentComponenet() {
		return null;
	}

}
